import Vue from 'vue'
import App from './App'
import router from './router'

import '@/plugins'
import '@/directive'
import '@/assets/styles'

import * as constants from '@/constant'
import * as observe from '@/observe'
import * as utils from '@/utils'

Object.defineProperty(Vue.prototype, '$constants', {value: constants.default});
Object.defineProperty(Vue.prototype, '$observe', {value: observe.default});
Object.defineProperty(Vue.prototype, '$utils', {value: utils.default});

//阻止显示生产模式的消息
Vue.config.productionTip = false

//更改网页标题
document.title = process.env.VUE_APP_PRODUCT_TITLE || '协同云'
//禁止选择网页中的文字
//document.onselectstart = function () { return false; }

console.log(process)
//console.log(Vue)

new Vue({
  //components:{},
  router,
  render: h => h(App)
}).$mount('#app')
